package pms.entity;

import java.time.LocalDate;

public class Order {
    private Integer order_id;
    private Supplier order_supplier;//供应商提供的药
    private Medicine order_medicine;//需要的药
    private LocalDate order_date;//采购日期
    private Integer order_number;//采购数量
    private Integer order_amount;//订单金额
    private Integer order_status;//是否确认

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Supplier getOrder_supplier() {
        return order_supplier;
    }

    public void setOrder_supplier(Supplier order_supplier) {
        this.order_supplier = order_supplier;
    }

    public Medicine getOrder_medicine() {
        return order_medicine;
    }

    public void setOrder_medicine(Medicine order_medicine) {
        this.order_medicine = order_medicine;
    }

    public LocalDate  getOrder_date() {
        return order_date;
    }

    public void setOrder_date(LocalDate  order_date) {
        this.order_date = order_date;
    }

    public Integer getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(Integer order_amount) {
        this.order_amount = order_amount;
    }

    public Integer getOrder_number() { return order_number; }

    public void setOrder_number(Integer order_number) { this.order_number = order_number;}

    public Integer getOrder_status() {
        return order_status;
    }

    public void setOrder_status(Integer order_status) {
        this.order_status = order_status;
    }

    @Override
    public String toString() {
        return "Order{" +
                "order_id=" + order_id +
                ", order_supplier=" + order_supplier +
                ", order_medicine=" + order_medicine +
                ", order_date=" + order_date +
                ", order_amount=" + order_amount +
                '}';
    }
}
